Optimal. Leaf size=81 \[ \frac {2 (1+i \tan (c+d x))^{-n} (a+i a \tan (c+d x))^n F_1\left (\frac {5}{2};1-n,1;\frac {7}{2};-i \tan (c+d x),i \tan (c+d x)\right )}{5 d \cot ^{\frac {5}{2}}(c+d x)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.16, antiderivative size = 81, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.192, Rules used = {4241, 3564, 130, 511, 510} \[ \frac {2 (1+i \tan (c+d x))^{-n} (a+i a \tan (c+d x))^n F_1\left (\frac {5}{2};1-n,1;\frac {7}{2};-i \tan (c+d x),i \tan (c+d x)\right )}{5 d \cot ^{\frac {5}{2}}(c+d x)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 130
Rule 510
Rule 511
Rule 3564
Rule 4241
Rubi steps
\begin {align*} \int \frac {(a+i a \tan (c+d x))^n}{\cot ^{\frac {3}{2}}(c+d x)} \, dx &=\left (\sqrt {\cot (c+d x)} \sqrt {\tan (c+d x)}\right ) \int \tan ^{\frac {3}{2}}(c+d x) (a+i a \tan (c+d x))^n \, dx\\ &=\frac {\left (i a^2 \sqrt {\cot (c+d x)} \sqrt {\tan (c+d x)}\right ) \operatorname {Subst}\left (\int \frac {\left (-\frac {i x}{a}\right )^{3/2} (a+x)^{-1+n}}{-a^2+a x} \, dx,x,i a \tan (c+d x)\right )}{d}\\ &=-\frac {\left (2 a^3 \sqrt {\cot (c+d x)} \sqrt {\tan (c+d x)}\right ) \operatorname {Subst}\left (\int \frac {x^4 \left (a+i a x^2\right )^{-1+n}}{-a^2+i a^2 x^2} \, dx,x,\sqrt {\tan (c+d x)}\right )}{d}\\ &=-\frac {\left (2 a^2 \sqrt {\cot (c+d x)} (1+i \tan (c+d x))^{-n} \sqrt {\tan (c+d x)} (a+i a \tan (c+d x))^n\right ) \operatorname {Subst}\left (\int \frac {x^4 \left (1+i x^2\right )^{-1+n}}{-a^2+i a^2 x^2} \, dx,x,\sqrt {\tan (c+d x)}\right )}{d}\\ &=\frac {2 F_1\left (\frac {5}{2};1-n,1;\frac {7}{2};-i \tan (c+d x),i \tan (c+d x)\right ) (1+i \tan (c+d x))^{-n} (a+i a \tan (c+d x))^n}{5 d \cot ^{\frac {5}{2}}(c+d x)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [F] time = 5.09, size = 0, normalized size = 0.00 \[ \int \frac {(a+i a \tan (c+d x))^n}{\cot ^{\frac {3}{2}}(c+d x)} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 1.96, size = 0, normalized size = 0.00 \[ {\rm integral}\left (-\frac {\left (\frac {2 \, a e^{\left (2 i \, d x + 2 i \, c\right )}}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}\right )^{n} \sqrt {\frac {i \, e^{\left (2 i \, d x + 2 i \, c\right )} + i}{e^{\left (2 i \, d x + 2 i \, c\right )} - 1}} {\left (e^{\left (4 i \, d x + 4 i \, c\right )} - 2 \, e^{\left (2 i \, d x + 2 i \, c\right )} + 1\right )}}{e^{\left (4 i \, d x + 4 i \, c\right )} + 2 \, e^{\left (2 i \, d x + 2 i \, c\right )} + 1}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (i \, a \tan \left (d x + c\right ) + a\right )}^{n}}{\cot \left (d x + c\right )^{\frac {3}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 1.24, size = 0, normalized size = 0.00 \[ \int \frac {\left (a +i a \tan \left (d x +c \right )\right )^{n}}{\cot \left (d x +c \right )^{\frac {3}{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (i \, a \tan \left (d x + c\right ) + a\right )}^{n}}{\cot \left (d x + c\right )^{\frac {3}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (a+a\,\mathrm {tan}\left (c+d\,x\right )\,1{}\mathrm {i}\right )}^n}{{\mathrm {cot}\left (c+d\,x\right )}^{3/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (i a \left (\tan {\left (c + d x \right )} - i\right )\right )^{n}}{\cot ^{\frac {3}{2}}{\left (c + d x \right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________